<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>搜事网-日志管理</title>
<jsp:include page="includes.jsp" />
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page language="java" contentType="text/html;charset=UTF-8"
	import="java.util.*" pageEncoding="utf-8"%>
</head>
<body>
	<div class="wrap">
		<!-- header:start -->
		<jsp:include page="banner.jsp" />
		<!-- header:end -->
		<div id="body">
			<h1 class="page">
				<span>日志管理</span>
			</h1>
			<div id="left" class="wrap">
				<div class="main lside176">
					<jsp:include page="left_banner.jsp" />
					<div class="middle w804">
						<div id="left" class="w804">
							<div class="main">
								<div class="topbox">
									<div class="tabs"></div>
								</div>
								<div class="tabContent">
									<div class="listForm">
										<s:if test="logs.size > 0">
											<table class="t" width="100%" cellspacing="1">
												<tr class="odd">
													<td></td>
													<td>序号</td>
													<td>内容</td>
													<td>用户</td>
													<td>类型</td>
													<td>创建时间</td>
												</tr>
												<s:iterator value="logs">
													<tr>
														<td><input type="checkbox" name="delIds"
															value="${id}" /></td>
														<td><s:property value="id" /></td>
														<td><s:property value="message" /></td>
														<td><s:property value="user.name" /></td>
														<td><s:if test="type=='LOGIN'">登录</s:if> <s:if
																test="type=='LOGOUT'">退出</s:if></td>
														<td><s:property value="getDttmStr()" /></td>
													</tr>
												</s:iterator>
											</table>
										</s:if>
										<!-- 分页:start -->
										<div class="pagination">
											<s:if test="curPage!=1">
												<a href="listLog.do?curPage=1&pageSize=${pageSize}">首页</a>
												<a
													href="listLog.do?curPage=${curPage-1}&pageSize=${pageSize}">上一页</a>
											</s:if>
											<s:if test="curPage!=totalPage">
												<a
													href="listLog.do?curPage=${curPage+1}&pageSize=${pageSize}">下一页</a>
												<a
													href="listLog.do?curPage=${totalPage}&pageSize=${pageSize}">末页</a>
											</s:if>
											当前
											<s:property value="curPage" />
											/
											<s:property value="totalPage" />
											页
										</div>
										<!-- 分页:end -->

									</div>
								</div>
							</div>
						</div>
					</div>
					<jsp:include page="footer.jsp" />
					<div class="clear"></div>
				</div>
			</div>
		</div>
	</div>


</body>
</html>
